var ds_region_select = new Ext.data.Store({
	url : app.url+'/attribute/findRegion.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'value'}])
});


var ds_bank_select = new Ext.data.Store({
	url : app.url+'/attribute/findBank.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'value'}])
});

var ds_cardtype_select = new Ext.data.Store({
	url : app.url+'/attribute/findCardtype.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'value'}])
});

var ds_debtor_select = new Ext.data.Store({
	url : app.url+'/debtor/findAll.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'name'}])
});

var ds_account_select = new Ext.data.Store({
	url : app.url+'/account/findAll.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'username'},{name : 'cardnumber'},{name : 'owner'},{name : 'name'},{name : 'balance'}])
});
var ds_loan_select = new Ext.data.Store({
	url : app.url+'/loan/findAll.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'name'}])
});

var ds_custom_select = new Ext.data.Store({
	url : app.url+'/loan/findAllCustom.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'name'}])
});

var ds_user_select = new Ext.data.Store({
	url : app.url+'/loginuser/getMyLoginUserList.do',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'id'},{name : 'name'}])
});

var ds_debit_data = new Ext.data.Store({
	url : app.url+'/admin/fix/fixInfo.do',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'id'},{name : 'unit'},{name:'buyer'},{name:'phone'},{name:'mobile'},{name:'address'},{name:'remarks'},{name:'fixDate'}])
});

var ds_invest_data = new Ext.data.Store({
	url : app.url+'/admin/fix/fixInfo.do',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'id'},{name : 'unit'},{name:'buyer'},{name:'phone'},{name:'mobile'},{name:'address'},{name:'remarks'}])
});

var ds_bankdebitt_data = new Ext.data.Store({
	url : app.url+'/bankdebit/findLogs.action',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'tid'},{name : 'createtime'},{name:'loanname'},{name:'cnumber'},{name:'csum'},{name:'interest'},{name:'charge'}])
});

var ds_storageSpace_data = new Ext.data.Store({
	url : app.url+'/admin/storage/getStorageSpaces.do',
	reader : new Ext.data.JsonReader({root : 'root'}, 
	[{name : 'id'},{name : 'name'}])
});
